﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:system="clr-namespace:System;assembly=mscorlib">
    <!-- Shared Styles -->
    <Style TargetType="{x:Type ToolBarTray}">
        <Setter Property="Background">
            <Setter.Value>
                <LinearGradientBrush StartPoint="0,0.5" EndPoint="1,0.5">
                    <LinearGradientBrush.RelativeTransform>
                        <TransformGroup>
                            <TranslateTransform X="-0.5" Y="-0.5"/>
                            <ScaleTransform ScaleX="1" ScaleY="1"/>
                            <SkewTransform AngleX="0" AngleY="0"/>
                            <RotateTransform Angle="90.0172795589426"/>
                            <TranslateTransform X="0.5" Y="0.5"/>
                            <TranslateTransform X="-0.0015136743804197244" Y="-0.19736842105263153"/>
                        </TransformGroup>
                    </LinearGradientBrush.RelativeTransform>
                    <LinearGradientBrush.GradientStops>
                        <GradientStop Color="Silver" Offset="0.0">
                        </GradientStop>
                        <GradientStop Color="White" Offset="1.5"/>
                    </LinearGradientBrush.GradientStops>
                </LinearGradientBrush>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="{x:Type Menu}">
        <Setter Property="Background">
            <Setter.Value>
                <LinearGradientBrush StartPoint="0,0.5" EndPoint="1,0.5">
                    <LinearGradientBrush.RelativeTransform>
                        <TransformGroup>
                            <TranslateTransform X="-0.5" Y="-0.5"/>
                            <ScaleTransform ScaleX="1" ScaleY="1"/>
                            <SkewTransform AngleX="0" AngleY="0"/>
                            <RotateTransform Angle="90.0172795589426"/>
                            <TranslateTransform X="0.5" Y="0.5"/>
                            <TranslateTransform X="-0.0015136743804197244" Y="-0.19736842105263153"/>
                        </TransformGroup>
                    </LinearGradientBrush.RelativeTransform>
                    <LinearGradientBrush.GradientStops>
                        <GradientStop Color="Silver" Offset="0.0">
                        </GradientStop>
                        <GradientStop Color="White" Offset="1.5"/>
                    </LinearGradientBrush.GradientStops>
                </LinearGradientBrush>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="ToolBarTextBox" TargetType="{x:Type TextBox}">
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="BorderBrush" Value="Silver"/>
    </Style>
    <Style x:Key="ToolTipTitle" TargetType="{x:Type Label}">
        <Setter Property="Background" Value="{x:Static SystemColors.HighlightBrush}"/>
        <Setter Property="Foreground" Value="{x:Static SystemColors.HighlightTextBrush}"/>
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="Width" Value="200"/>
    </Style>
    <Style x:Key="ToolTipTextBlock" TargetType="{x:Type TextBlock}">
        <Setter Property="Width" Value="200"/>
        <Setter Property="TextWrapping" Value="WrapWithOverflow"/>
        <Setter Property="Padding" Value="10"/>
    </Style>
    <Style TargetType="{x:Type ToolTip}">
        <Setter Property="Width" Value="220"/>
    </Style>
    <Style x:Key="MenuIcon" TargetType="{x:Type Image}">
        <Setter Property="Height" Value="16"/>
        <Setter Property="Width" Value="16"/>
    </Style>
    <Style x:Key="ToolbarIcon" TargetType="{x:Type Image}">
        <Setter Property="Height" Value="24"/>
        <Setter Property="Width" Value="24"/>
    </Style>
    <Style x:Key="PanelBackground" TargetType="{x:Type Panel}">
        <Setter Property="Background">
            <Setter.Value>
                <LinearGradientBrush StartPoint="0,0.5" EndPoint="1,0.5">
                    <LinearGradientBrush.RelativeTransform>
                        <TransformGroup>
                            <TranslateTransform X="-0.5" Y="-0.5"/>
                            <ScaleTransform ScaleX="1" ScaleY="1"/>
                            <SkewTransform AngleX="0" AngleY="0"/>
                            <RotateTransform Angle="90.0172795589426"/>
                            <TranslateTransform X="0.5" Y="0.5"/>
                            <TranslateTransform X="-0.0015136743804197244" Y="-0.19736842105263153"/>
                        </TransformGroup>
                    </LinearGradientBrush.RelativeTransform>
                    <LinearGradientBrush.GradientStops>
                        <GradientStop Color="Silver" Offset="0.0">
                        </GradientStop>
                        <GradientStop Color="White" Offset="1.5"/>
                    </LinearGradientBrush.GradientStops>
                </LinearGradientBrush>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="NewToolbarIcon" TargetType="{x:Type Image}" BasedOn="{StaticResource ToolbarIcon}">
	<Setter Property="Source" Value="../Icons/new.ico"/>
    </Style>
    <Style x:Key="RenameToolbarIcon" TargetType="{x:Type Image}" BasedOn="{StaticResource ToolbarIcon}">
	<Setter Property="Source" Value="../Icons/Rename.ico"/>
    </Style>
    <Style x:Key="DeleteToolbarIcon" TargetType="{x:Type Image}" BasedOn="{StaticResource ToolbarIcon}">
	<Setter Property="Source" Value="../Icons/delete.ico"/>
    </Style>
    <Style x:Key="SearchToolbarIcon" TargetType="{x:Type Image}" BasedOn="{StaticResource ToolbarIcon}">
	<Setter Property="Source" Value="../Icons/search.ico"/>
    </Style>
    <Style x:Key="JournalToolbarIcon" TargetType="{x:Type Image}" BasedOn="{StaticResource ToolbarIcon}">
	<Setter Property="Source" Value="../Icons/journal.ico"/>
    </Style>
    <Style x:Key="AboutMenuIcon" TargetType="{x:Type Image}" BasedOn="{StaticResource MenuIcon}">
        <Setter Property="Source" Value="../Icon.ico"/>
    </Style>
    <Style x:Key="SettingsMenuIcon" TargetType="{x:Type Image}" BasedOn="{StaticResource MenuIcon}">
        <Setter Property="Source" Value="../Icons/settings.ico"/>
    </Style>
    <Style x:Key="DeleteMenuIcon" TargetType="{x:Type Image}" BasedOn="{StaticResource MenuIcon}">
        <Setter Property="Source" Value="../Icons/delete.ico"/>
    </Style>
</ResourceDictionary>